package com.fusion.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@TableName("USER")
public class User implements Serializable{
	
	private static final long serialVersionUID = 948970547769340907L;
	
    @TableId(type = IdType.ID_WORKER_STR)
	private String id;
	
	private String userName;
	
	private String age;
	
	private Date createDate;
	
	private Date updateDate;
	
	/**
	  * 和数据库没有关联的数据
	 */
	@TableField(exist = false)
	private String dept;
	
}
